home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 132 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: ix.netcom.com!netnews
  2. From: tjensen@ix.netcom.com (Ted Jensen)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: help!: An array of strings
  5. Date: Tue, 02 Jan 1996 18:28:53 GMT
  6. Organization: Netcom
  7. Message-ID: <4cbtgb$6o0@ixnews8.ix.netcom.com>
  8. References: <Pine.SUN.3.91.960101231746.4185A-100000@parsifal.nando.net>
  9. Reply-To: tjensen@ix.netcom.com
  10. NNTP-Posting-Host: pax-ca14-11.ix.netcom.com
  11. X-NETCOM-Date: Tue Jan 02 10:28:27 AM PST 1996
  12. X-Newsreader: Forte Free Agent 1.0.82
  13.  
  14. pretzel <pretzel@nando.net> wrote:
  15.  
  16. >Is there any way to create and use an array of strings?  I am trying to 
  17. >create an adventure game that gets its descriptions from an array.  In 
  18. >BASIC the code looks like this....
  19.  
  20. >Main:
  21. >.......
  22. >.......
  23.  
  24. It looks like you're just getting into arrays and pointers in C.  May
  25. I suggest you check out a tutorial I wrote on this subject?  It is
  26. available at either of the following sites:
  27.  
  28. http://oak.oakland.edu:8080/SimTel/msdos/c/ptrtut01.zip
  29.  
  30. ftp.coast.net/SimTel/msdos/c/ptrtut01.zip
  31.  
  32. or at one of the various SimTel mirrors.
  33.  
  34.  
  35. Ted Jensen                 Author of PTRTUT01.ZIP
  36. Redwood City, CA      A tutorial on C pointers and Arrays
  37. tjensen@ix.netcom.com    Available via Simtel/msdos/c
  38.  
  39.